package com.sunb2b.entity;

import java.util.Date;

import org.hibernate.validator.constraints.NotEmpty;
import org.springframework.format.annotation.DateTimeFormat;
import org.springframework.format.annotation.DateTimeFormat.ISO;

/**
 * PersonMember entity. @author MyEclipse Persistence Tools
 */

public class PersonMember extends Member {

	// Fields
	@NotEmpty(message="不能为空")
	private String gender;
	@DateTimeFormat(iso=ISO.DATE)
	private Date birthday;

	// Constructors

	/** default constructor */
	public PersonMember() {
	}

	// Property accessors
	public String getGender() {
		return this.gender;
	}

	public void setGender(String gender) {
		this.gender = gender;
	}

	public Date getBirthday() {
		return birthday;
	}

	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}

}